﻿using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace ConsoleApp1.Models.DB {

	[JsonObject(MemberSerialization.OptIn), Table(Name = "t_TerminalTemp", DisableSyncStructure = true)]
	public partial class TTerminalTemp {

		[JsonProperty, Column(IsPrimary = true, IsIdentity = true)]
		public long Id { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string A1Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? A1Temp { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string A2Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? A2Temp { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string A3Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? A3Temp { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string B1Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? B1Temp { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string B2Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? B2Temp { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string B3Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? B3Temp { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string C1Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? C1Temp { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string C2Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? C2Temp { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string C3Id { get; set; }

		[JsonProperty, Column(DbType = "decimal(18,2)")]
		public decimal? C3Temp { get; set; }

		[JsonProperty]
		public DateTime? CreateTime { get; set; }

		[JsonProperty, Column(Name = "deviceId")]
		public long? DeviceId { get; set; }

		[JsonProperty, Column(StringLength = -2)]
		public string TerminalId { get; set; }

		[JsonProperty]
		public DateTime? Time { get; set; }

	}

}
